<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="../../../common/jquery.js"></script>
		<script type="text/javascript">
		$(function(){

			$("a:contains('link')").prop("href",index.html);
		 //包含link的标签的href属性为index.html  title属性为test
		      
		 //获取p标签的class
		        
		 //将p标签的class属性改成class+another
		        
		 //点击link交替两种样式
		         
		 
		 })
		     </script> 
		
	</head>
	<body>
		<h3>例子</h3>
			<a href="#">link1</a>
			<a href="#">link</a>	
			<a href="#">lnk</a>
	</body>
</html>
